﻿@{
    Lang lang = ViewBag.Lang;
    ViewBag.Title = lang.CHANGEPASS;
    Layout = "~/Views/Shared/_LayoutMember.cshtml";
}
@model TGVR_Project.Models.LocalPasswordModel
<div class="panel panel-default">
    <div class="panel-heading">
        <i class="fa fa-external-link-square"></i>@lang.CHANGEPASS
        <div class="panel-tools">
            <a class="btn btn-xs btn-link panel-collapse collapses" href="#"></a><a class="btn btn-xs btn-link panel-config"
                href="#panel-config" data-toggle="modal"><i class="fa fa-wrench"></i></a><a class="btn btn-xs btn-link panel-refresh"
                    href="#"><i class="fa fa-refresh"></i></a><a class="btn btn-xs btn-link panel-expand"
                        href="#"><i class="fa fa-resize-full"></i></a><a class="btn btn-xs btn-link panel-close"
                            href="#"><i class="fa fa-times"></i></a>
        </div>
    </div>
    <div class="panel-body">
        <p>
            Create one account to manage everything you do with ClipOne, from your shopping
            preferences to your ClipOne activity.
        </p>
        <hr>
        @using (Html.BeginForm("ChangePassword", "Admin"))
        {
            @Html.ValidationSummary()
            <ol>
                <li><span style='width: 150px; display: inline-block;'>
                    @Html.LabelFor(m => m.OldPassword)
                </span>
                    @Html.PasswordFor(m => m.OldPassword)
                </li>
                <li><span style='width: 150px; display: inline-block;'>
                    @Html.LabelFor(m => m.NewPassword)
                </span>
                    @Html.PasswordFor(m => m.NewPassword)
                </li>
                <li><span style='width: 150px; display: inline-block;'>
                    @Html.LabelFor(m => m.ConfirmPassword)
                </span>
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </li>
            </ol>
            <input type="submit" value="Change password" />
        }
    </div>
</div>
